home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 24 / Mac Magazin and MacEasy Magazine CD - Issue 24.iso / Online / Anarchie-160 / Example Scripts / Script Docs < prev   
Text File  |  1995-04-09  |  1KB  |  14 lines

  1. Scripts
  2.  
  3. Where I say URL in this document, I mean either a proper URL like “ftp://user:password@host/path” (user:password@ is optional) or a simple one like: “host:path” or an Info-Mac “archived as” line like “[Archive as /info-mac/util/dehqx.hqx; 30k]” or a UMich line like “/mac/util/dehqx.hqx”
  4.  
  5. Download Files - Takes a file with a list of URLs and downloads them, deleteing any lines that successfully download.  This is designed for use with Cron.  When you read the UMich New Files mailout or the Info-Mac digest, copy any interesting references into the file and then when the run Download Files (perhaps overnight using Cron) to fetch them.  Note that some version of AppleScript had a badly broken Read/Write Commands osax which crashes under PowerPC - I recommend using this only with System 7.5.
  6.  
  7. Fetch Clipboard, List Clipboard - Copy a URL to the clipboard and invoke this script to download it or list the directory.
  8.  
  9. Find Clipboard - Copy part of a file name to the clipboard and invoke this script to find it.
  10.  
  11. Get Selection - Just a simple script to demonstarate the "get contents of selection" AppleScript command.
  12.  
  13. “the clipboard” is used in some scripts and is implemented in Jon’s Commands Scripting Extension available from the usual places (check out the AppleScript FTP bookmark).
  14.